package com.cff.shorturl.app;

import java.sql.SQLException;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.cff.shorturl.http.HttpServer;
import com.cff.shorturl.http.ServerManager;


public class App {
    private static final Logger logger = LogManager.getLogger(App.class);

	public static void main(String args[]) throws SQLException {
		HttpServer httpServer = new HttpServer(88);
		logger.info("服务已启动，端口:{}", 88);
		ServerManager.addServer(httpServer);
	}
}
